Reduce default (debugging) output to ASCII, not codepg 1252.
authorrobertl <robertl>
Sun, 1 Feb 2004 05:04:21 +0000 (05:04 +0000)
committerrobertl <robertl>
Sun, 1 Feb 2004 05:04:21 +0000 (05:04 +0000)
waypt.c

diff --git a/waypt.c b/waypt.c
index 17e3cb301de17c92325002092e99d1890d86b239..4f5e66bc83c49cdc58d4a88b4968d458fa9dc604 100644 (file)
--- a/waypt.c
+++ b/waypt.c
@@ -130,7 +130,7 @@ waypt_disp(const waypoint *wpt)
        printposn(wpt->latitude,1);
        printposn(wpt->longitude,0);
        
-       tmpdesc = str_utf8_to_cp1252( wpt->description);
+       tmpdesc = str_utf8_to_ascii( wpt->description);
        printf("%s/%s", 
                global_opts.synthesize_shortnames ? 
                        mkshort(mkshort_handle, tmpdesc) :